﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CqusInfo.RAL.Community
{
    /// <summary>
    /// tb_Album_Photo 相片表
    /// </summary>
    public class Album_PhotoModel
    {
        public string c_vc_aId { get; set; }
        public string c_vc_apId { get; set; }
        public string c_vc_description { get; set; }
        public DateTime c_dt_dateTime { get; set; }
        public string c_vc_photoName { get; set; }
        public Int32 c_i_commentNO { get; set; }
        public string c_tx_URL { get; set; }
        public bool c_b_isDel { get; set; }

        /// <summary>
        /// 无参构造函数
        /// </summary>
        public Album_PhotoModel()
        {

        }

        /// <summary>
        /// 有参构造函数
        /// </summary>
        /// <param name="aId">tb_Album ID</param>
        /// <param name="apId">用户名</param>
        /// <param name="description">相片描述</param>
        /// <param name="dateTime">创建日期</param>
        /// <param name="photoName">相片名称</param>
        /// <param name="commentNO">评论条数</param>
        /// <param name="URL">图像路径 %ROOT%/</param>
        /// <param name="isDel">是否删除</param>
        public Album_PhotoModel(string aId, string apId, string description, DateTime dateTime, string photoName, Int32 commentNO, string URL, bool isDel)
        {
            this.c_vc_aId = aId;
            this.c_vc_apId = apId;
            this.c_vc_description = description;
            this.c_dt_dateTime = dateTime;
            this.c_vc_photoName = photoName;
            this.c_i_commentNO = commentNO;
            this.c_tx_URL = URL;
            this.c_b_isDel = isDel;
        }
    }
}
